package edu.cmu.ece.ds.droidchat.message;

public class ChatSessionMessage extends DroidChatMessage{
	private String chatSessionID;
	private int senderSeqNum;
	private String message;
	private String senderUserName;
	private int t;
	
	public ChatSessionMessage(String chatID,
			int seqNum,
			String msg, 
			String sender) {
		super(DroidChatMessage.CHAT_MESSAGE);
		chatSessionID = chatID;
		senderSeqNum = seqNum;
		message = msg;
		senderUserName = sender;
	}
	
	public String getChatSessionID() {
		return chatSessionID;
	}
	public int getSenderSeqNum(){
		return senderSeqNum;
	}
	public String getMessage(){
		return message;
	}
	public String getSenderUsername(){
		return senderUserName;
	}
	public void setT(int t){
		this.t = t;
	}
	public int getT(){
		return this.t;
	}
}
